import React from 'react'
// import './Seckill.css'
export default function Countdown(props) {
    let {getcountdowm}=props
    // console.log(getcountdowm)
    return (
        <div className='Countdown'>
            {/* <h3>倒计时</h3> */}
            {
                getcountdowm?getcountdowm.map(item=>(
                    <div className='Countdown_box' key={item.id}>
                        <img src={item.img} alt=""/>
                        <ul>
                        <li>现价：{item.price}</li>
                        <li>原价：{item.market_price}</li>
                        <li>{item.goodsname}</li>
                        </ul>
                    </div>
                )):null
            }
        </div>
    )
}
